<template>
    <div class="footer" v-if="isShow">
        <div class="foot_top">
            <div>
                <img src="@/assets/icon_quan.png" alt="">
                品目繁多 愉悦购物
            </div>
            <div>
                <img src="@/assets/icon_you.png" alt="">
                正品保障 天天低价
            </div>
            <div>
                <img src="@/assets/icon_kuai.png" alt="">
                极速物流 特色定制
            </div>
            <div>
                <img src="@/assets/icon_le.png" alt="">
                优质服务 以客为尊
            </div>

        </div>
        <div class="foot_btm">
            <p>
                <span>关于我们</span>|
                <span>联系我们</span>|
                <span>加入我们</span>|
                <span>友情链接</span>
            </p>
            <p>
                沪ICP备14033591号-8 杰普briup.com版权所有 杰普软件科技有限公司
            </p>
        </div>
        <div class="goTop" v-show="$route.path == '/home'">
            <a href="#top" class="iconfont icon-huidaodingbu"></a>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            isShow: this.$store.state.isShowHeadFoot,
        };
    },
    created() {},
    methods: {},
};
</script>
<style lang="scss" scoped>
.footer {
    background-color: #f4f4f4;
    padding: 30px 0;
    height: 260px;
    .foot_top {
        width: 1000px;
        margin: 30px auto;
        display: flex;
        div {
            width: 25%;
            padding: 0 10px;
            font-size: 20px;
            text-align: center;
            img {
                vertical-align: middle;
            }
        }
    }
    .foot_btm {
        border-top: 2px solid #b11e22;
        padding: 30px 0;
        text-align: center;
        p {
            line-height: 24px;
            span {
                margin: 0 10px;
                font-weight: 700;
            }
        }
    }
    .goTop {
        position: fixed;
        bottom: 60px;
        right: 95px;
        // background-color: red;
        a {
            font-size: 40px;
            color: #b11e22;
        }
    }
}
</style>
